package com.yongan.warehouse.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.warehouse.entity.Inventory;

public interface InventoryDao {

 Inventory queryById(String  inventoryId);
	
	List< Inventory> queryAll(@Param("offset")int offset,@Param("limit")int limit);
	
	int insertInventory( Inventory  inventory);
	
	int deleteInventory(String  inventoryId);
	
	int updateInventory( Inventory  inventory);
}
